package com.example.flying_personnel_management_system.services;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONArray;
import com.example.flying_personnel_management_system.dao.AttendanceTextDaoNG;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;

import java.util.List;

/*@Service
public class AttendanceTextServiceDaoImpNG implements AttendanceTextServiceDaoNG{
@Qualifier("attendanceTextDaoNG")
        @Autowired
    AttendanceTextDaoNG attendanceTextDaoNG;


    @Override
    public JSONArray select_attendance() {

        List att= attendanceTextDaoNG.select_attendance();
        System.err.println(JSONArray.parseArray(JSON.toJSONString(att)));
        return JSONArray.parseArray(JSON.toJSONString(att));
    }
}*/
